package com.luomu.base.api.service;

import com.luomu.base.api.bo.ApiReqBO;
import com.luomu.base.api.bo.ApiRspBO;
import com.luomu.base.api.bo.UserLoginReqBO;
import me.zhyd.oauth.model.AuthUser;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface SysLoginService {

    @PostMapping("/socialRegister")
    Long socialRegister(@RequestBody AuthUser reqBO);

    @PostMapping("/login")
    void login(@RequestBody UserLoginReqBO reqBO);


    @PostMapping("/logout")
    void logout();
}
